<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">

    <title>Login</title>

    <link href="{{ asset('files/css/style.css') }}" rel="stylesheet">
    <link href="{{ asset('files/css/style-responsive.css') }}" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="{{ asset('files/js/html5shiv.js') }}"></script>
    <script src="{{ asset('files/js/respond.min.js') }}"></script>
    <![endif]-->
</head>

<body class="login-body">

<div class="container">

    <form class="form-signin" method="POST" action="{{ route('login') }}">
        @csrf
        <div class="form-signin-heading text-center">
            <img src="{{ asset('files/images/login-logo.png') }}" alt=""/>
        </div>
        <div class="login-wrap">
            <input type="text" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}"
                   placeholder="User ID" value="{{ old('email') }}" autofocus>
            @if ($errors->has('email'))
                <span class="invalid-feedback"><strong>{{ $errors->first('email') }}</strong></span>
            @endif
            <input type="password" name="password"
                   class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" placeholder="Password">
            @if ($errors->has('password'))
                <span class="invalid-feedback"><strong>{{ $errors->first('password') }}</strong></span>
            @endif
            <button class="btn btn-lg btn-login btn-block" type="submit">
                <i class="fa fa-check"></i>
            </button>

        </div>

    </form>

</div>

<script src="{{ asset('files/js/jquery-1.10.2.min.js') }}"></script>
<script src="{{ asset('files/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('files/js/modernizr.min.js') }}"></script>

</body>
</html>
